def demo(obj=[]):
    obj.append(1)
    print("obj的值",obj)
demo()
demo()
demo()

def demo(obj=None):
    if obj ==None:
        obj=[]
    obj.append(1)
    print("obj的值",obj)
demo()
demo()
demo()